package com.fzh.pojo.entity;



public class Address {
	
	private Integer id;
	/**
	 * 链接用户表（外键id）
	 */
	private Integer f_uid;
	/**
	 * 是否是默认地址（0代表不是，1代表是）
	 */
	private Integer defaultAddress;
	/**
	 * 收货人的姓名
	 */
	private String name;
	/**
	 * 收货人的手机号
	 */
	private String phone;
	/**
	 * 地址，省
	 */
	private String province;
	/**
	 * 地址，市
	 */
	private String city;
	/**
	 * 地址，区
	 */
	private String area;
	/**
	 * 详细的地址信息
	 */
	private String addressInfo;
	/**
	 * 地址的序号
	 */
	private Integer number;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getF_uid() {
		return f_uid;
	}
	public void setF_uid(Integer f_uid) {
		this.f_uid = f_uid;
	}
	public Integer getDefaultAddress() {
		return defaultAddress;
	}
	public void setDefaultAddress(Integer defaultAddress) {
		this.defaultAddress = defaultAddress;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getAddressInfo() {
		return addressInfo;
	}
	public void setAddressInfo(String addressInfo) {
		this.addressInfo = addressInfo;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	@Override
	public String toString() {
		return "Address [id=" + id + ", f_uid=" + f_uid + ", defaultAddress=" + defaultAddress + ", name=" + name
				+ ", phone=" + phone + ", province=" + province + ", city=" + city + ", area=" + area + ", addressInfo="
				+ addressInfo + ", number=" + number + "]";
	}
	public Address(Integer id, Integer f_uid, Integer defaultAddress, String name, String phone, String province,
			String city, String area, String addressInfo, Integer number) {
		super();
		this.id = id;
		this.f_uid = f_uid;
		this.defaultAddress = defaultAddress;
		this.name = name;
		this.phone = phone;
		this.province = province;
		this.city = city;
		this.area = area;
		this.addressInfo = addressInfo;
		this.number = number;
	}
	public Address() {
		super();
	}
	
}
